package service

import (
	"my_music_server/dao"
	"my_music_server/model"
)

type SongService struct {
}

var _songDao dao.SongDao

func (s *SongService) GetSongList() []model.Song {
	var songList []model.Song
	//dao.DB.Find(&songList)
	songList, _ = _songDao.GetSongList()
	return songList
}
